#!/usr/bin/env python
# Create: 2019/3/14
__author__ = '749B'

COURSE = "人工智能、大数据与复杂系统一月特训班"
PRICE = 3529  # RMB

p14 = {'name': "第14讲 高等数学—正态分布", 'url_info': [
    ("14.1 标准正态分布", "https://media.wanmen.org/584e9fae-6040-4a34-bb95-5d662da36adb_pc_mid"),
    ("14.2 中心极限定理", "https://media.wanmen.org/3d11bd37-0209-444c-8243-3c7d2206d047_pc_mid"),
    ("14.3 误差函数", "https://media.wanmen.org/30efadef-eb98-4728-a9b7-c5c22d78d913_pc_mid"),
    ("14.4 二维正态分布", "https://media.wanmen.org/3897fb60-988a-4cbd-aeae-c70b70c697f6_pc_mid"),
    ("14.5 多维正态分布", "https://media.wanmen.org/d27b9cf7-fde1-440f-a9c4-e44617abccf0_pc_mid"),
]}

parts = [p14]
URLS = [(part.get('name'), item[0], item[1]) for part in parts for item in part.get('url_info')]

if __name__ == '__main__':
    from utils import check_url
    starts = 'https://media.wanmen.org/'
    ends = '_pc_mid'
    check_url.check([i[2] for i in URLS], starts, ends)
    print("视频数量:", len(URLS))
